package com.maxd.bean.member;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 加入会员-入参
 */
@ApiModel("加入会员")
@Data
public class JoinMemberReq {

    @ApiModelProperty("会员Id")
    @NotNull
    private Long memberId;

    @ApiModelProperty("金额")
    @NotNull
    private BigDecimal amount = BigDecimal.ZERO;

}
